package com.cashmama.market.api.application.enums;

/**
 * Created with IntelliJ IDEA.
 * User: yujianfu (mr.vencnet@gmail.com)
 * Date: 2019-12-20
 * Time: 16:58
 */
public enum ParamType {
    LABEL(0, "LABEL"),
    TEXT(1, "TEXT"),
    SELECT(2, "SELECT"),
    CONTACT(3, "CONTACT"),
    DATE_PICK(4, "DATE_PICK"),
    ADDRESS(5, "ADDRESS"),
    ADDRESS_COPY(6, "ADDRESS_COPY"),
    GET_OTP(7, "GET_OTP"),
    INPUT_NO_TITLE(8, "INPUT_NO_TITLE"),
    POST_PHOTO(9, "POST_PHOTO"),
    LIVE_CHECK(10, "LIVE_CHECK"),
    SINGLE_SELECT(11, "SINGLE_SELECT");

    private Integer type;
    private String desc;

    ParamType(Integer type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public Integer getType() {
        return type;
    }

    public ParamType setType(Integer type) {
        this.type = type;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public ParamType setDesc(String desc) {
        this.desc = desc;
        return this;
    }



}
